UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

All shell files must have mode 0755 or less permissive.


Overview

Finding ID Version Rule ID IA Controls Severity
V-922 GEN002220 M6 SV-38015r1_rule ECLP-1 High
Description
Shells with world/group write permissions give the ability to maliciously modify the shell to obtain unauthorized access.
STIG Date
MAC OSX 10.6 Workstation Security Technical Implementation Guide 2012-01-30

Details

Check Text ( C-37584r1_chk )
Open a terminal session and enter the following command.

cat /etc/shells | xargs -n1 ls -lL

If any shell has a mode more permissive than 0755, this is a finding.
Fix Text (F-32826r1_fix)
Open a terminal session and enter the following command to set the mode.

chmod 0755